package com.gl.ruanzhu.mapper;

import com.gl.common.mapper.MyMapper;
import com.gl.common.mybatis.annotation.MapperPrimary;
import com.gl.ruanzhu.model.Task;
import com.gl.ruanzhu.outDto.TaskOutDto;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@MapperPrimary
@Component
public interface ITaskMapper extends MyMapper<Task> {

    List<Task> getAll(Map<String, Object> params);

    List<Task> showDesignSon(Map<String, Object> params);

    List<TaskOutDto> getUnResponded(Map<String, Object> params);

    TaskOutDto getDetails(Map<String, Object> params);

    Task getOneTask(Map<String, Object> params);

}
